﻿@model Contacts.Models.ContactInformation
@{ var i = Model.ContactInformationId; }

<div class="entry">
  <input type="hidden" name="ContactInformations.Index" value="@i.ToString()" />
  @Html.DropDownList(string.Format("ContactInformations[{0}].ContactTypeId", i), Contacts.Views.Helpers.SelectHelpers.GetPhoneTypes(Model.ContactTypeId.ToString()))
  @Html.TextBox(string.Format("ContactInformations[{0}].Information", i), Model.Information)
  @Html.ValidationMessage(string.Format("ContactInformations[{0}].Information", i), Model.Information)
  <a href="#" class="remove">remove</a>
</div>
